import webapp2
import json
from google.appengine.api import users

class AdminHandler(webapp2.RequestHandler):
  def get(self):
    self.response.out.write(json.dumps({ "isAdmin":
        users.is_current_user_admin() }))